package com.example.xyxwebbackend001.model.DTO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostRequestDTO {
    private String title;
    private String content;
    private String imagePath;
    private String place;
    private Integer tPostId;
    private String tags;

    @JsonProperty("tPostId")
    public Integer getTPostId() { return tPostId; }

    @JsonProperty("tPostId")
    public void setTPostId(Integer tPostId) { this.tPostId = tPostId; }
}
